//
//  LoginVC_iPad.h
//  WRY
//
//  Created by zhong sckj on 10-10-12.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CommonActivity_iPad.h"
#import "SettingPathVC_iPad.h"
@interface LoginVC_iPad :CommonActivity_iPad<UIPopoverControllerDelegate,UIGestureRecognizerDelegate>{
	IBOutlet UIView *loginView;
	IBOutlet UITextField *loginNameField;
	IBOutlet UITextField *loginPwdField;
	
	
	
	SettingPathVC_iPad *popSettingPath;
	UIPopoverController *popController;
    
    
    NSString *loginUserName;
    NSString *loginUserPwd;
    NSString *deviceType;
    NSString *deviceCode;
    int t;
	
}
@property(nonatomic,retain)NSString *loginUserName;
@property(nonatomic,retain)NSString *loginUserPwd;
@property(nonatomic,retain)NSString *deviceType;
@property(nonatomic,retain)NSString *deviceCode;


@property(nonatomic,retain)UIView *loginView;
@property(nonatomic,retain)UITextField *loginNameField;
@property(nonatomic,retain)UITextField *loginPwdField;

@property(nonatomic,retain)SettingPathVC_iPad *popSettingPath;
@property(nonatomic,retain)UIPopoverController *popController;
- (void)initalLoginView;
- (void)checkLoginInfo;
- (void)eventForCheckLogin:(NSNotification *)notification;
- (void)loginFor:(NSString *)user password:(NSString *)pwd;
- (void)showLoginView;
- (void)eventForLogin:(NSNotification *)notification;
- (void)setSystemSource;
- (void)eventForSetSource:(NSNotification *)notification;
- (IBAction)loginSurebuttonClick:(id)sender;
- (void)showAlert:(NSString *)message;
- (IBAction)settWetPathClick:(id)sender;
@end
